import Vue from 'vue'
import App from './App.vue'
import './plugins/element.js'
import router from './router'
import axios from './api'
import store from './store/store.js'
import jishi from './store/jishi.js'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
Vue.use(VueAwesomeSwiper, /* { default options with global component } */)


import "./utils/cookie";
import "./element/index";
import "./assets/scss/common.scss";
import "./assets/scss/global.scss";
// import "normalize.css/normalize.css";
import "./assets/scss/element-variables.scss";

import domain from '../static/domain';
import ElementUI from 'element-ui' //element-ui的全部组件
import 'element-ui/lib/theme-chalk/index.css'//element-ui的css
import "./stylesheet/dialog.scss";
import "./stylesheet/common.css";
Vue.use(ElementUI) //使用elementUI
global.domain = domain;
Vue.use(domain);
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
Vue.use(Antd);


/*filter */
import * as filters from './plugins/filters';
Object.keys(filters).forEach(key => {
    Vue.filter(key, filters[key])
});
/*filter */

Vue.prototype.$http = axios;

Vue.config.productionTip = false

new Vue({
  store,
  router,
    jishi,
  render: h => h(App),
}).$mount('#app')
